<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jspf/common.jspf"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="${pageContext.request.contextPath}/resources/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<style type="text/css">
body, * {
color:#333333; 
font-family:"lucida grande",tahoma,verdana,arial,sans-serif;
font-size:11px; 
}
table {border-collapse: collapse; width: 800px; border-top: 2px solid blue; margin: 5px 0;}
table th, table td { padding: 5px 5px 5px 5px; border: 1px solid blue; }
table th{ color: #333333;  background:#ECEFF5 none repeat scroll 0 0;}
table td{ color: #808080; word-wrap:break-word; }
 
a {
color:#3B5998;
cursor:pointer;
text-decoration:none;
} 

a.button {color: #3B5998; font-weight: bold;}
input, textarea {border : 1px solid #808080; width: 80%;} 
.position-left  {float: left;} 
.position-right {float: right;}
</style> 
<script type="text/javascript">
	$(document).ready(function() {  
 
		var primaryBuffer= {
				column : [ 
							{id : '메타ID', key : 'true', type: 'text'}, 
							{id : '메타명', type: 'textarea'}, 
							{id : '노출여부', type: 'text'}, 
							{id : '검색우선순위', type: 'text'}
						  ],  
				record : {
							SENS_META_00001 : {1 : 'SENS_META_00001' ,2 : '가족적인', 3 : '예', 4 : '1'},
							SENS_META_00002 : {1 : 'SENS_META_00002' ,2 : '섹시한', 3 : '예', 4 : '2'},
							SENS_META_00003 : {1 : 'SENS_META_00003' ,2 : '킹왕짱', 3 : '예', 4 : '3'}  
						}
		
				};  

			 
	 
		$.each(primaryBuffer.column, function(index, column) {
			alert(column.id ); 
		});
 
	});

	
</script>
</head>
<body> 
	<div id="list"> 
		<a id="add" href="#" class="button">신규</a> /  
		<a id="remove" href="#">삭제</a>
		<table name="list">
			<col width="10%"/>
			<thead>
				<tr> 
					<th></th>
					<th>메타ID</th>
					<th>메타명</th>
					<th>노출여부</th>
					<th>검색우선순위</th>
				</tr>
			</thead>
			<tbody>  
			</tbody>
		</table>
		<br/>   
	</div>
	<div id="master">  
	</div>  
</body>
</html>